home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 8: LINUX Games / Linux Cubed Series 8 - LINUX Games.iso / games / doom / linux-do.000 / linux-do / doom-1.8 / README.linuxx < prev    next >
Text File  |  1994-12-12  |  5KB  |  117 lines

  1. This is Linux X DOOM v1.8.  DOOM is a nifty 3D game originally
  2. released for NEXTSTEP and then DOS.  Read the attached DOS README
  3. for more.
  4.  
  5. It was compiled under Linux v1.1.64.  You need Hannu's 3.0ish sound
  6. driver if you want sound.
  7.  
  8. This executable should also work with the registered DOOM and DOOM
  9. II wad (v1.8).  Be a pal and don't pirate doom.wad and doom2.wad
  10. it if you'd be so kind.
  11.  
  12. Included at the end is the stock README file which came with DOS
  13. DOOM v1.6.  If you don't know jack about DOOM, you might want to
  14. read it.  It mostly applies except where it doesn't.
  15.  
  16. I did this 'cause Linux gives me a woody.  It doesn't generate
  17. revenue.  Please don't call or write us with bug reports.  They
  18. cost us money, and I get sorta ragged on for wasting my time on
  19. UNIX ports anyway.
  20.  
  21. There are two executables, linuxxdoom and sndserver.  They both
  22. need to be in your path.  If sndserver isn't, you won't get sound.
  23. This is good if you don't have a 16-bit stereo sound card.
  24. The data file doom1.wad, which can be had from ftp.uwp.edu, must
  25. either be in the current directory or must be in the directory
  26. pointed to by the environment variable DOOMWADDIR.  The default.cfg
  27. file is now in ~/.doomrc.  It'll be created the first time you run
  28. DOOM.  Wouldn't bother messing with it except for chat macros if
  29. you like to use them.
  30.  
  31. CTRL fires, SHIFT makes you go fast, ALT lets you sidle, and the
  32. arrow keys move you around.
  33.  
  34. There are a few new/different options.  To play a net game, you do
  35. this: "linuxxdoom -net <myplayernumber> <otherguyhostname ...>".  So
  36. for a three person game between the machines huey, dewey, and louie,
  37. you might type:
  38.  
  39. huey> linuxxdoom -net 1 dewey louie
  40. dewey> linuxxdoom -net 2 huey louie
  41. louie> linuxxdoom -net 3 huey dewey
  42.  
  43. It's a slightly queer syntax, but the number lets you be a color
  44. not determined by your machine address which is kinda nice.
  45.  
  46. You can specify a different port number to use by saying "-port
  47. <num>".
  48.  
  49. Another new option is inflating the screen size.  You'll quickly
  50. discover that 320x200 is just REAL small on 1280x1024 screens.
  51. You can use -2, -3, or -4 to double, triple, or quadruple the window
  52. size.  This turns out to be a pretty bonehead thing to do in Linux.
  53. You can resize the X server resolution.  I understand there's now
  54. a 320x200 mode.  I'd recommend it.  The -2,-3,-4 options were broken
  55. before (an endianness thing).  -2 and -3 are fixed.  I still say
  56. you're a bonehead for using them.
  57.  
  58. fvwm is an unwise thing to have running if the CTRL key fires.
  59. You'll see why after a few minutes.
  60.  
  61. This game uses the MITSHM extension to X.  It also uses Sys V shared
  62. memory.  I'm not terribly expert with the latter, so if stale shared
  63. memory starts to accumulate on your system, reboot I guess, and my
  64. apologies in advance.  I think I wrote enough code to reclaim the
  65. stuff if it sees it lying around.  Quitting gracefully will drastically
  66. reduce the chance of bad things happening.
  67.  
  68. Thanks to Joel at InfoMagic for sending me extra nifty Linux CDROM's.
  69. Special thanks to Hannu Savolainen who with almost painful coolness
  70. added a nifty feature to allow real-time sound to work.  It made
  71. this possible and has helped me write the Jag DOOM sound code.
  72. I'm horribly grateful for that.  And of course, horribly gruesome
  73. dripping thanks to Linus Torvalds for giving us one hell of an
  74. operating system!
  75.  
  76.     =-ddt->
  77.  
  78. PS.  This is straight out of the source code.  You can put these
  79. values in the .doomrc to remap your keys.  For keys not on here,
  80. it's generally the lowercase ASCII value.
  81.  
  82. //
  83. // most key data are simple ascii (uppercased)
  84. //
  85. #define KEY_RIGHTARROW          0xae
  86. #define KEY_LEFTARROW           0xac
  87. #define KEY_UPARROW                     0xad
  88. #define KEY_DOWNARROW           0xaf
  89. #define KEY_ESCAPE                      27
  90. #define KEY_ENTER                       13
  91. #define KEY_TAB                         9
  92. #define KEY_F1                          (0x80+0x3b)
  93. #define KEY_F2                          (0x80+0x3c)
  94. #define KEY_F3                          (0x80+0x3d)
  95. #define KEY_F4                          (0x80+0x3e)
  96. #define KEY_F5                          (0x80+0x3f)
  97. #define KEY_F6                          (0x80+0x40)
  98. #define KEY_F7                          (0x80+0x41)
  99. #define KEY_F8                          (0x80+0x42)
  100. #define KEY_F9                          (0x80+0x43)
  101. #define KEY_F10                         (0x80+0x44)
  102. #define KEY_F11                         (0x80+0x57)
  103. #define KEY_F12                         (0x80+0x58)
  104.  
  105. #define KEY_BACKSPACE           127
  106. #define KEY_PAUSE                       0xff
  107.  
  108. #define KEY_EQUALS                      0x3d
  109. #define KEY_MINUS                       0x2d
  110.  
  111. #define KEY_RSHIFT                      (0x80+0x36)
  112. #define KEY_RCTRL                       (0x80+0x1d)
  113. #define KEY_RALT                        (0x80+0x38)
  114.  
  115. #define KEY_LALT                        KEY_RALT
  116.  
  117.